翻訳と辞書
Words near each other
・ Inlet Beach, Florida
・ Inlet Centre Station
・ Inlet cone
・ Inlet ionization
・ Inlet manifold
・ Inlet Square Mall
・ Inlet Theatre
・ Inlet, New York
・ Inlet, Wisconsin
・ Inliers and outliers (geology)
・ Inline
・ Inline (slot car)
・ Inline assembler
・ Inline blowback (paintball)
・ Inline boarding
Inline caching
・ Inline chromatic harp
・ Inline engine
・ Inline engine (aeronautics)
・ Inline expansion
・ Inline figure skating
・ Inline function
・ Inline hockey at the 1999 Pan American Games
・ Inline hockey at the World Games
・ Inline hockey at the World Games 2009
・ Inline hockey in the United Kingdom
・ Inline hockey SM-liiga
・ Inline Hockey World Championships
・ Inline linking
・ Inline process refractometer


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Inline caching : ウィキペディア英語版
Inline caching
Inline caching is an optimization technique employed by some language runtimes, and first developed for Smalltalk.〔
The goal of inline caching is to speed up runtime method binding by remembering the results of a previous method lookup directly at the call site. Inline caching is especially useful for dynamically typed languages where most if not all method binding happens at runtime and where virtual method tables often cannot be used.
== Runtime method binding ==
The following ECMAScript function receives an object, invokes its toString-method and displays the results on the page the script is embedded in.

function dump(obj)

Since the type of the object is not specified and because of potential method overloading, it is impossible to decide ahead of time which concrete implementation of the toString-method is going to be invoked. Instead, a dynamic lookup has to be performed at runtime. In language runtimes that do not employ some form of caching, this lookup is performed every time a method is invoked. Because methods may be defined several steps down the inheritance chain, a dynamic lookup can be an expensive operation.
To achieve better performance, many language runtimes employ some form of non-inline caching where the results of a limited number of method lookups are stored in an associative data structure. This can greatly increase performance, provided that the programs executed are "cache friendly" (i.e. there is a limited set of methods that is invoked frequently). This data structure is typically called the ''first-level method lookup cache''.〔

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Inline caching」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.